<div id='localist_menu' name='localist_menu' class='localist_menu'>
    <% for l in @localist_menu[:supported_locales] -%>
        <% if @localist_menu[:active].eql?(l) -%>
            <%= localist_flag_tag(l, {:class => 'localist_selected_flag'} ) %>
        <% else -%>
            <%= link_to(localist_flag_tag(l, {:class => 'localist_unselected_flag', :border => false} ), 
                        url_for(params.merge({@localist_menu[:symbol]=>l}))) %>
        <% end %>
    <% end -%>
</div>